<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title><?php
if ($this->__title) {
	echo $this->__title;
} elseif (key_exists($this->app, $_SERVER['LOCALE']['apps'])) {
	if ($_SERVER['LOCALE']['apps'][$this->app][0]) echo $_SERVER['LOCALE']['apps'][$this->app][0] . "  ";
}
?>
漫画国际</title>
<link rel="stylesheet" href="<?=$_SERVER['config']['style']?>/css/css.css"  type="text/css"/>
<link rel="stylesheet" href="http://www.<?=DOMAIN?>/css/style.css"  type="text/css"/>
<link rel="stylesheet" href="http://www.<?=DOMAIN?>/css/base.css" type="text/css" />
<?php include('_header.phtml');?>
<?php if($this->headerView) include($this->headerView);?>
</head>
<body><div class="box">
<div class="header">
<div class="logo"><a href="<?=self::_makeURL('index','index','index')?>"><img src="/images/logo.gif" width="160" height="146" /></a></div>
<div class="logovsseach">
<div id="logo2">
<a href="<?=self::_makeURL('index','index','index')?>"><img src="/images/logo_b.gif" width="335" height="46" /></a></div>
<div class="searchbox">
<form id="searchForm" name="searchForm" method="POST" action="<?=self::_makeURL('index','index','search')?>" onSubmit="return Search.checkFrom('searchForm')">
	<input name="keywords" type="text" id="keywords" class="keybg1" onfocus="Search._onfocus();" onblur="Search._onblur();" value="请输入漫画名或者作者" />
	<input name="imageField" type="submit" value="" class="bnt_scarch" />
	<br />                
</form> 
		
</div>
</div>
<div class="menu">
 <ul class="nav">
  <li><a href="<?=self::_makeURL('index','index','index')?>">首页</a></li>
  <li><a href="#">我的漫画</a></li>
  <li><a href="<?=self::_makeURL('index','index','cate_list')?>">分类浏览</a></li> 
 </ul>
  <?if(!self::$login['uid']):?>
 <ul class="logbot">
   <li id="zhuce"><a class="cl" href="http://i.<?=DOMAIN?>/~member.index.reg">免费注册</a></li>
   <li id="login"><a href="http://i.<?=DOMAIN?>/~member.login.login?to=http://<?=$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']?>">登录</a></li>
   <li class="upload"><a href="#">上传动画</a></li>
 </ul>
 <?else:?>
 <ul class="logbot">
   <li id="nylogin">
   	<?php if($logo = member_util_avatar::get_avatar(self::$login['uid'])):?>
   	<a id="touxiang" href="http://i.<?=DOMAIN?>/uid/<?=self::$login['uid']?>"><img src="<?=$logo?>" width="22" height="22" /></a>
   	<?php endif;?>
   	<a id="idname" href="http://i.<?=DOMAIN?>/?uid=<?=self::$login['uid']?>"><?=self::$login['nickname']?></a><a id="xiala" href="#">下拉</a>
   	</li>
   <li class="upload"><a href="#">上传动画</a></li>
 </ul>
 <?endif;?>
</div>
</div>

<?php
if ($this->ret['message']) {
	include(DOCUMENT_PATH . '/views/_jsjump.phtml');
} else {
	echo '<i:info xmlns:i="178" type="error" >你访问的页面不存在，<a href="javascript: history.go(-1)">点此返回</a></i:info>';
}
?>
<div class="link">
<h2><span>友情链接</span><a href="#">申请加入>></a></h2>
<div class="linklist">
<a href="#">推哦网</a><a href="#">T恤客</a><a href="#">推哦网</a><a href="#">T恤客</a><a href="#">推哦网</a><a href="#">T恤客</a><a href="#">推哦网</a><a href="#">T恤客</a><a href="#">推哦网</a><a href="#">T恤客</a><a href="#">推哦网</a><a href="#">T恤客</a><a href="#">推哦网</a><a href="#">T恤客</a><a href="#">推哦网</a><a href="#">T恤客</a><a href="#">推哦网</a><a href="#">T恤客</a><a href="#">推哦网</a><a href="#">T恤客</a><a href="#">推哦网</a><a href="#">T恤客</a><a href="#">推哦网</a><a href="#">T恤客</a><a href="#">推哦网</a><a href="#">T恤客</a><a href="#">推哦网</a><a href="#">T恤客</a><a href="#">推哦网</a><a href="#">T恤客</a></div>
</div>
<script type="text/javascript" src="/js/footer.js"></script>
<div id="FlyMessages" style=""></div> 
<?php if($msg = $this->getMessage()):?>
<script>
Event.observe(window, 'load', function(event){
	FloatMessage.show('friendly','<?= $msg?>', 2);
});
</script>
<?php endif;?>
<?php if($msgs = Controller::getFloatMessage()):?>
<script>
<?php foreach($msgs as $msg):?>
Event.observe(window, 'load', function(event){
	FlyMessage.add("<?= addslashes($msg)?>", 1.2);
});
<?php endforeach;?>
</script>
<?php endif;?>
<script type='text/javascript'>
ImageLoader.bindHandlers();
Event.observe(window, 'load', adjust_content_frame);
MessageChecker.initialize();
new PeriodicalExecuter(function(pe){FlyMessage.playQueue(); pe.stop();}, 0.5);
</script>
<script src="http://i.<?=DOMAIN?>/?_app=sms&_controller=index&_action=check_new&rtype=4" type="text/javascript" charset="utf-8"></script>
</body>
</html>



